package org.dromara.crawler.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.crawler.domain.KnowledgeTemplate;
import org.dromara.crawler.domain.TargetEvent;
import org.dromara.crawler.domain.TemplateManager;

public interface TemplateManagerMapper extends BaseMapperPlus<TemplateManager, TemplateManager> {

    TemplateManager findById(@Param("templateId") Long id);

    Page<TemplateManager> queryByPage(@Param("page") Page<TemplateManager> page, @Param(Constants.WRAPPER) Wrapper<TemplateManager> queryWrapper);


}
